package com.ddatsh.transaction.core.model;

/**
 * 交易模型，记录每笔处理交易
 * 
 * @author ddatsh
 * @version 1.0
 */
public class Transaction implements java.io.Serializable {
	private static final long serialVersionUID = -8902703516901906425L;
	public static final String STATUS_INIT = "000";
	public static final String STATUS_COMPLETE = "100";
	private String transNo;
	private String status;

	public Transaction() {
		super();
		this.status = STATUS_INIT;
	}

	public Transaction(String requestNo) {
		this();
		this.transNo = requestNo;
	}

	public String getTransNo() {
		return transNo;
	}

	public String getStatus() {
		return status;
	}

	public void setTransNo(String transNo) {
		this.transNo = transNo;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
